package com.totem.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.totem.order.model.TRechargeOrderItems;
import com.totem.order.vo.RechargeOrderPageVO;
import com.totem.order.vo.RechargeOrderVO;
import com.totem.order.vo.SubscribeOrderPageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TRechargeOrderItemMapper extends BaseMapper<TRechargeOrderItems> {

    Long countAll(@Param("vo") RechargeOrderPageVO vo);

    IPage<RechargeOrderVO> findAll(IPage<RechargeOrderVO> page, @Param("vo") RechargeOrderPageVO vo);

    List<RechargeOrderVO> findAll(@Param("vo") RechargeOrderPageVO vo);
}
